﻿// =================================================================== 
// 项目说明,功能实体类,用CodeSmith自动生成。
// =================================================================== 
// 文件名: MentionLogEntity.cs
// 修改时间：2020-9-8 10:40:05
// 修改人: lixiong
// =================================================================== 
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using JX.Infrastructure.Attribute;
using JX.Infrastructure.Common;

namespace JX.Core.Entity
{
	/// <summary>
	/// 数据库表：MentionLog 的实体类.
	/// </summary>
	[Table("MentionLog")]
	public partial class MentionLogEntity
	{
		#region Properties
		private int? _id = 0;
		/// <summary>
		/// (主键)(自增长)
		/// </summary>
		[Column("ID", TypeName = "int")]
		[Key]
		[MyFlag("Identity")]
		public int? ID
		{
			get { return _id; }
			set { _id = value; }
		}

		private System.String _mentionNO = string.Empty;
		/// <summary>
		/// 提现序列号
		/// </summary>
		[Column("MentionNO", TypeName = "nvarchar(50)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String MentionNO
		{
			get { return _mentionNO; }
			set { _mentionNO = value; }
		}

		private System.String _applicant = string.Empty;
		/// <summary>
		/// 申请人
		/// </summary>
		[Column("Applicant", TypeName = "nvarchar(50)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String Applicant
		{
			get { return _applicant; }
			set { _applicant = value; }
		}

		private DateTime? _applicationTime = null;
		/// <summary>
		/// 申请时间
		/// </summary>
		[Column("ApplicationTime", TypeName = "datetime")]
		public DateTime? ApplicationTime
		{
			get { return _applicationTime; }
			set { _applicationTime = value; }
		}

		private decimal? _applicationAmount = 0;
		/// <summary>
		/// 申请金额
		/// </summary>
		[Column("ApplicationAmount", TypeName = "money")]
		public decimal? ApplicationAmount
		{
			get { return _applicationAmount; }
			set { _applicationAmount = value; }
		}

		private decimal? _handlingCharge = 0;
		/// <summary>
		/// 手续费
		/// </summary>
		[Column("HandlingCharge", TypeName = "money")]
		public decimal? HandlingCharge
		{
			get { return _handlingCharge; }
			set { _handlingCharge = value; }
		}

		private System.String _bankAccount = string.Empty;
		/// <summary>
		/// 提现账号
		/// </summary>
		[Column("BankAccount", TypeName = "nvarchar(50)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String BankAccount
		{
			get { return _bankAccount; }
			set { _bankAccount = value; }
		}

		private System.String _bankName = string.Empty;
		/// <summary>
		/// 银行名称
		/// </summary>
		[Column("BankName", TypeName = "nvarchar(50)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String BankName
		{
			get { return _bankName; }
			set { _bankName = value; }
		}

		private System.String _cardholder = string.Empty;
		/// <summary>
		/// 持卡人姓名
		/// </summary>
		[Column("Cardholder", TypeName = "nvarchar(50)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String Cardholder
		{
			get { return _cardholder; }
			set { _cardholder = value; }
		}

		private int? _mentionStatus = 0;
		/// <summary>
		/// 状态（0：已申请，未处理；1：提现成功；2：提现失败；）
		/// </summary>
		[Column("MentionStatus", TypeName = "int")]
		public int? MentionStatus
		{
			get { return _mentionStatus; }
			set { _mentionStatus = value; }
		}

		private System.String _operator = string.Empty;
		/// <summary>
		/// 处理人
		/// </summary>
		[Column("Operator", TypeName = "nvarchar(50)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String Operator
		{
			get { return _operator; }
			set { _operator = value; }
		}

		private DateTime? _operatingTime = null;
		/// <summary>
		/// 处理时间
		/// </summary>
		[Column("OperatingTime", TypeName = "datetime")]
		public DateTime? OperatingTime
		{
			get { return _operatingTime; }
			set { _operatingTime = value; }
		}

		private System.String _remark = string.Empty;
		/// <summary>
		/// 备注
		/// </summary>
		[Column("Remark", TypeName = "nvarchar(MAX)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String Remark
		{
			get { return _remark; }
			set { _remark = value; }
		}

		private DateTime? _logTime = null;
		/// <summary>
		/// 日志记录时间
		/// </summary>
		[Column("LogTime", TypeName = "datetime")]
		public DateTime? LogTime
		{
			get { return _logTime; }
			set { _logTime = value; }
		}

		private System.String _memo = string.Empty;
		/// <summary>
		/// 内部记录
		/// </summary>
		[Column("Memo", TypeName = "nvarchar(MAX)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String Memo
		{
			get { return _memo; }
			set { _memo = value; }
		}

		#endregion
	}
}
